function deleteFruit(fid) {
    if (confirm("确认要删除该水果吗？")){
        window.location.href='del.do?fid='+fid;
    }
}